package com.woniu.repaircenter.models.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

@Data
@ApiModel(value = "分页参数")
public class PageForm {
    /**
     * 当前页面
     */
    @ApiModelProperty(value = "当前页码")
    @Value("${pageNum:1}")
    private Integer pageNum;
    /**
     * 每页显示的数量
     */
    @ApiModelProperty(value = "每页显示的数量")
    @Value("${pageSize:10}")
    private Integer pageSize;
}
